home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / devel / libx11 / include / x11 / xaw / gripp.h < prev    next >
C/C++ Source or Header  |  1999-01-01  |  2KB  |  80 lines

  1. /*
  2. * $XConsortium: GripP.h,v 1.14 89/05/11 01:05:27 kit Exp $
  3. */
  4.  
  5.  
  6. /***********************************************************
  7. Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
  8. and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
  9.  
  10.                         All Rights Reserved
  11.  
  12. Permission to use, copy, modify, and distribute this software and its 
  13. documentation for any purpose and without fee is hereby granted, 
  14. provided that the above copyright notice appear in all copies and that
  15. both that copyright notice and this permission notice appear in 
  16. supporting documentation, and that the names of Digital or MIT not be
  17. used in advertising or publicity pertaining to distribution of the
  18. software without specific, written prior permission.  
  19.  
  20. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  21. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  22. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  23. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  24. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  25. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  26. SOFTWARE.
  27.  
  28. ******************************************************************/
  29.  
  30. /*
  31.  *  GripP.h - Private definitions for Grip widget (Used by VPane Widget)
  32.  *
  33.  */
  34.  
  35. #ifndef _XawGripP_h
  36. #define _XawGripP_h
  37.  
  38. #include <X11/Xaw/Grip.h>
  39. #include <X11/Xaw/SimpleP.h>
  40.  
  41. /*****************************************************************************
  42.  *
  43.  * Grip Widget Private Data
  44.  *
  45.  *****************************************************************************/
  46.  
  47. #define DEFAULT_GRIP_SIZE 8
  48.  
  49. /* New fields for the Grip widget class record */
  50. typedef struct {int empty;} GripClassPart;
  51.  
  52. /* Full Class record declaration */
  53. typedef struct _GripClassRec {
  54.     CoreClassPart    core_class;
  55.     SimpleClassPart  simple_class;
  56.     GripClassPart    grip_class;
  57. } GripClassRec;
  58.  
  59. extern GripClassRec gripClassRec;
  60.  
  61. /* New fields for the Grip widget record */
  62. typedef struct {
  63.   XtCallbackList grip_action;
  64. } GripPart;
  65.  
  66. /*****************************************************************************
  67.  *
  68.  * Full instance record declaration
  69.  *
  70.  ****************************************************************************/
  71.  
  72. typedef struct _GripRec {
  73.    CorePart    core;
  74.    SimplePart  simple;
  75.    GripPart    grip;
  76. } GripRec;
  77.  
  78. #endif /* _XawGripP_h */
  79.  
  80.